<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
//在这里输出共用的JS代码
out.println("\t<script type='text/javascript' src='"+basePath+"res/js/jquery/jquery-1.7.1.js'></script>");
out.println("\t<script type='text/javascript' src='"+basePath+"res/js/jquery/jquery.cookie.js'></script>");
out.println("\t<script type='text/javascript' src='"+basePath+"res/js/jquery/jquery.corner.js'></script>");
out.println("\t<script type='text/javascript' src='"+basePath+"res/js/jquery/jquery.hoverdelay-1.1.1.js'></script>");
out.println("\t<script type='text/javascript' src='"+basePath+"res/js/layout.js'></script>");
//CSS输出
out.println("\t<link rel='stylesheet' type='text/css' href='"+basePath+"res/css/layout.css'/>");
out.println("\t<link rel='stylesheet' type='text/css' href='"+basePath+"res/css/main.css'/>");
out.println("\t<link rel='stylesheet' type='text/css' href='"+basePath+"res/css/header-menu.css'/>");
out.println("\t<link rel='stylesheet' type='text/css' href='"+basePath+"res/css/footer.css'/>");
%>
